package com.kang.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 库位实体类
 * 
 * @author zs614
 *
 */
public class InventoryLocation implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	private Integer inventorylocationid;

	/**
	 * 库位编号
	 */
	private String inventorylocationcode;

	/**
	 * 库位名
	 */
	private String inventorylocationname;

	/**
	 * 描述
	 */
	private String description;

	/**
	 * 上一级库位ID
	 */
	private Integer firstid;

	/**
	 * 库位级别
	 */
	private Integer secondid;
	/**
	 * 仓库ID
	 */
	private Integer warehouseManagementID;
	/**
	 * 仓库名
	 */
	private String warehouseName;

	/**
	 * 创建时间
	 */
	private Date createtime;

	/**
	 * 创建人
	 */
	private Integer createpersonid;
	/**
	 * 创建人姓名
	 */
	private String createpersonname;

	public Integer getInventorylocationid() {
		return inventorylocationid;
	}

	public void setInventorylocationid(Integer inventorylocationid) {
		this.inventorylocationid = inventorylocationid;
	}

	public String getInventorylocationcode() {
		return inventorylocationcode;
	}

	public void setInventorylocationcode(String inventorylocationcode) {
		this.inventorylocationcode = inventorylocationcode == null ? null : inventorylocationcode.trim();
	}

	public String getInventorylocationname() {
		return inventorylocationname;
	}

	public void setInventorylocationname(String inventorylocationname) {
		this.inventorylocationname = inventorylocationname == null ? null : inventorylocationname.trim();
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	public Integer getFirstid() {
		return firstid;
	}

	public void setFirstid(Integer firstid) {
		this.firstid = firstid;
	}

	public Integer getSecondid() {
		return secondid;
	}

	public void setSecondid(Integer secondid) {
		this.secondid = secondid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getCreatepersonid() {
		return createpersonid;
	}

	public void setCreatepersonid(Integer createpersonid) {
		this.createpersonid = createpersonid;
	}

	public String getCreatepersonname() {
		return createpersonname;
	}

	public void setCreatepersonname(String createpersonname) {
		this.createpersonname = createpersonname;
	}

	public Integer getWarehouseManagementID() {
		return warehouseManagementID;
	}

	public void setWarehouseManagementID(Integer warehouseManagementID) {
		this.warehouseManagementID = warehouseManagementID;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	@Override
	public String toString() {
		return "InventoryLocation [inventorylocationid=" + inventorylocationid + ", inventorylocationcode="
				+ inventorylocationcode + ", inventorylocationname=" + inventorylocationname + ", description="
				+ description + ", firstid=" + firstid + ", secondid=" + secondid + ", warehouseManagementID="
				+ warehouseManagementID + ", warehouseName=" + warehouseName + ", createtime=" + createtime
				+ ", createpersonid=" + createpersonid + ", createpersonname=" + createpersonname + "]";
	}
}